package com.cskaoyan.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Cart {
    private Integer id;

    private Integer userId;

    private Integer goodsId;

    private String goodsSn;//商品编号

    private String goodsName;

    private Integer productId;

    private BigDecimal price;

    private Integer number;

    private String[] specifications;

    private Boolean checked;

    private String picUrl;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT-8")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT-8")
    private Date updateTime;

    private Boolean deleted;

}